package vn.com.bookstore.dao;

import vn.com.bookstore.domain.model.Account;

public interface AccountDao {
	
	public Account getUserByName(String username, String role);
	
	public int insertNewAccount(Account account);
	
	public void updateAccount(Account account);
	
	public Account getAccountById(int id);
	
	public void deleteAccount(int id);
	
	public boolean checkExistedUsername(String username);
}
